package com.kintreda.ieco_server.core.web;

public enum ReturnMessage {
    SUCCESS("操作成功"),
    PARAMS_ERROR("参数错误"),
    AUTH_FAIL("认证失败"),
    FORBIDDEN("权限不足"),
    OBJECT_NOT_FOUND("操作的对象没有找到"),
    SYSTEM_ERROR("系统发生错误"),
    SQL_ERROR("数据库错误"),
    SOCKET_TIME_OUT("处理超时");
    private final String value;

    ReturnMessage(String value) {
        this.value = value;
    }

    public String message() {
        return value;
    }
}
